package test3_1;

public class Date {
	private String datetime;
	public Date(String datetime){
		this.datetime=datetime;
	}
	public String getDate(){
		return (this.datetime.substring(0, 4)+"-"+this.datetime.substring(4,6)+"-"+this.datetime.substring(6, 8));
	}
}